package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.Email;
import javax.validation.constraints.Size;

/**
 * 服务网点对象 jt_branch_services
 * 
 * @author Alan Zhang
 * @date 2025-03-29
 */
public class JtBranchServices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务网点id */
    private Long servicesId;

    /** 服务网点名称 */
    @Excel(name = "服务网点名称")
    private String servicesName;

    /** 所在国家地区 */
    @Excel(name = "所在国家地区")
    private String countryRegion;

    /** 国家码 */
    @Excel(name = "国家码")
    private Integer countryCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 联系邮箱 */
    @Email(message = "邮箱格式不正确")
    @Size(min = 0, max = 50, message = "邮箱长度不能超过50个字符")
    @Excel(name = "联系邮箱")
    private String email;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 经度 */
    private BigDecimal latitude;

    /** 纬度 */
    private BigDecimal longitude;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer status;

    public void setServicesId(Long servicesId) 
    {
        this.servicesId = servicesId;
    }

    public Long getServicesId() 
    {
        return servicesId;
    }

    public void setServicesName(String servicesName) 
    {
        this.servicesName = servicesName;
    }

    public String getServicesName() 
    {
        return servicesName;
    }

    public void setCountryRegion(String countryRegion) 
    {
        this.countryRegion = countryRegion;
    }

    public String getCountryRegion() 
    {
        return countryRegion;
    }

    public void setCountryCode(Integer countryCode)
    {
        this.countryCode = countryCode;
    }

    public Integer getCountryCode()
    {
        return countryCode;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("servicesId", getServicesId())
            .append("servicesName", getServicesName())
            .append("countryRegion", getCountryRegion())
            .append("countryCode", getCountryCode())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("imageUrl", getImageUrl())
            .append("address", getAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
